package optimizer;

import java.util.ArrayList;

public class BasicBlock {
	ArrayList<Instruction> blockInstructions;
	
	
	public BasicBlock(ArrayList<Instruction> ins) {
		this.blockInstructions = ins;
	}
	
	Instruction getInstrcutionAtIndex(int index) {
		return blockInstructions.get(index);		
	}
	
	int getBlockSize() {
		return blockInstructions.size();
	}
}
